//
//  Cell_AudioList.m
//  yjw-winner
//
//  Created by 王春辉 on 2018/9/14.
//  Copyright © 2018年 Shanghai decade financial information service co., LTD. All rights reserved.
//

#import "Cell_AudioList.h"

@implementation Cell_AudioList

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 4.0f;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (selected) {
        self.titleLabel.textColor = MAIN_COLOR;
        self.playingStatusImageView.hidden = NO;
        self.timeNumberLabel.hidden = YES;
    }else {
        self.titleLabel.textColor = [UIColor blackColor];
        self.playingStatusImageView.hidden = YES;
        self.timeNumberLabel.hidden = NO;
    }
}

@end
